/*年轻人，只管向前看，不要管自暴自弃者的话*/
package com.znb.okdown.ui.view

import android.content.Context
import android.view.LayoutInflater
import android.widget.FrameLayout
import com.znb.okdown.databinding.LayoutAndroidViewBinding


/**
 * create by itz on 2024/1/19 11:05
 * desc :
 **/
class AndroidView(context: Context) : FrameLayout(context) {

    var binding = LayoutAndroidViewBinding.inflate(LayoutInflater.from(context))

    init {
        addView(binding.root)
    }

    fun setData(data: String) {
        binding.textView.text = data
    }
}